<include path="header" />
<div class="m-title">
	<ul>
    	<li>添加用户</li>
        <li><a href="/admin/flag">权限组管理</a></li>
        <li><a href="/admin/member">用户管理</a></li>
        <li class="right"><a href="/admin/member">返回 用户管理</a></li> 
        <li></li>
    </ul>
</div>
<div class="box">       
    <form action="" method="post">
    <input type="hidden" name="user_id" value="<?=$u['user_id']?>" />
    <table class="two-cols">
      <tr >
        <td>登录邮箱</td>
        <td><input name="email" type="text" value="<?=$u['email']?>" /> <br/>
         <span>用于用户的登录和邮件的收发</span>	
       
        
        </td>
      </tr>
      <tr >
        <td>用户名字</td>
        <td><input name="username" type="text" value="<?=$u['username']?>" /> <br/>
         <span>用户的真实姓名</span>	
       
        
        </td>
      </tr>
      <tr>
        <td>登录密码</td>
        <td><input name="password" type="text" value="" /> <br/>
         <span>用户登录的安全凭据</span></td>
      </tr>
       <tr>
        <td>权限类型</td>
        <td>  
          <select name="flag" id="flag">
          <? if($fs){ foreach($fs as $ff){ ?>	
          <option value="<?=$ff['flag_id'] ?>" <? if($u['flag_id'] == $ff['flag_id']){ ?> selected="selected" <? } ?> ><?=$ff['name'] ?></option>
          <? }} ?>                 
          </select>
<br/>
         <span>用户可进行的操作分组</span></td>
      </tr>  
      
        <tr>
        <td> </td>
        <td ><input type="submit" value="确认" class="button"/>
       </td>
      </tr>
    </table>
    </form>
</div>  
<include path="footer" />
  
